<ul class="layui-nav layui-nav-tree" lay-shrink="all" id="LAY-system-side-menu" lay-filter="layadmin-system-side-menu">
#for(item : sidebar)
	#if(item.parent == "0")
		#auth(item.value)
          <li data-name="home" class="layui-nav-item #if(item.focus)layui-this#end">          	
          	#if(item.childs == null)
          	<a lay-href="#(item.value)" lay-tips="#(item.name)" lay-direction="2">
          	#else 
          	<a href="javascript:;" lay-tips="#(item.name)" lay-direction="2">
          	#end
              <i class="#(item.icon)"></i>
              <cite>#(item.name)</cite>
            </a>
            #if(item.childs != null)
            <dl class="layui-nav-child">
			#for(second : item.childs)
				#auth(second.value)
					#if(second.focus)
					<dd data-name="" class="layui-this"><a lay-href="#(second.value)">#(second.name)</a></dd>
					#else
					<dd data-name=""><a lay-href="#(second.value)">#(second.name)</a></dd>
					#end
				#end
			#end
            </dl>
			#end
          </li>
		#end
	#end
#end
</ul>